<?php
class CommentModel extends AdvModel
{
	// 自动填充规则
	var $_auto = array(
		array("comstatus","1",1,"string"),
		array("comtime","time",1,"function"),
	);

	// 自动校验规则
	var $_validate = array(
		array('comcontent','require','评论不能为空',0,'',3),
	);

}
?>